package com.vidyu.datalayer.dataaccesscomponents;

import com.vidyu.businesslayer.businessentities.Contract;
import com.vidyu.businesslayer.businessentities.Msg;

import java.util.List;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: eyalsa
 * Date: 28/02/12
 * Time: 14:37
 * Dao object for ProjectTypeDao
 */
public interface MsgDao {
    long save(Msg msg);
    void update(Msg msg);
    Msg findById(long id);
    List<Msg> getAllInboxMsges(long fromId);
    }
